home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4593 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: cdn_news.telecom.com.au!jolson
  2. From: jolson@vprpmel1.telecom.com.au (Jeff Olson)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: void main() and other atrocities!
  5. Date: Tue, 06 Feb 96 19:11:31 GMT
  6. Organization: Ferntree Computer Corporation
  7. Message-ID: <4f5vc2$qcj@cdn_news.telecom.com.au>
  8. References: <4eduaj$1aq@grouper.Exis.Net> <4em17r$shq@jaxnet.jaxnet.com> <4emub9$1mo@fountain.mindlink.net> <4epplj$egf@host-3.cyberhighway.net> <4erjn2INN38b@keats.ugrad.cs.ubc.ca> <9602021300.AA04359@dxmint.cern.ch>
  9. NNTP-Posting-Host: 144.136.81.159
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. How about:
  13.  
  14. int main (int argc, char **argv)
  15.  
  16. I saw in the FAQ that a multi-dimentional array will not decay into a pointer 
  17. to a pointer.  This main() is valid with my Sparcworks compiler so I would 
  18. like to know if my compiler is supporting non-standard behavior or if argv is 
  19. a pointer to an array of characters (meaning it can decay into a pointer to a 
  20. pointer).
  21.  
  22. Thanks,
  23.  
  24. Jeff
  25.  
  26. Jeff Olson
  27. Ferntree Computer Corporation
  28. email:  jolson@vprpmel1.telecom.com.au
  29. phone:  +61 (03) 9634-9144
  30.   fax:  +61 (03) 9634-9412
  31. *** All opinions are my own ***
  32.